<template>
  <div class="setting">
    <div class="settingChange">
      <el-collapse v-model="activeNames">
        <el-collapse-item title="修改密码" name="1">
          <PasswordChangeForm/>
        </el-collapse-item>
        <el-collapse-item title="修改邮箱" name="3">
          <EmailChangeForm/>
        </el-collapse-item>
        <el-collapse-item title="修改手机号" name="2">
          <PhoneChangeForm/>
        </el-collapse-item>
      </el-collapse>
    </div>
  </div>
</template>

<script>
import axios from "axios";
import PasswordChangeForm from "./form/PasswordChangeForm.vue"
import EmailChangeForm from "./form/EmailChangeForm.vue"
import PhoneChangeForm from "./form/PhoneChangeForm.vue"
export default {
  name: "DetailSetting",
  components:{PasswordChangeForm , EmailChangeForm , PhoneChangeForm},
  data() {
    return {
      activeNames: ["1"],
      userName: "",
    };
  },
  methods: {
   
  },
};
</script>

<style>
.firstButton {
  margin-left: 400px !important;
}
.inputChange {
  margin: 10px;
  padding: 5px;
  display: block;
  width: 1000px !important;
}
.setting {
  margin: 0px auto;
  padding: 50px 100px 0px 20px;
  background-color: white;
  width: auto;
  height: 100%;
}
.settingChange {
  width: 85%;
}
</style>